package com.cargohu.aishouyu.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cargohu.aishouyu.member.entity.ChatPhraseLabel;
import com.cargohu.aishouyu.member.req.ChatPhraseLabelRequest;
import com.cargohu.aishouyu.member.resp.ChatPhraseLabelDetailVo;
import com.cargohu.aishouyu.member.resp.ChatPhraseLabelResponse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 聊天常用语标签 Mapper 接口
 *
 * @author yww
 * @since 2023-11-28
 */
@Mapper
public interface ChatPhraseLabelMapper extends BaseMapper<ChatPhraseLabel> {

    /**
     * 聊天常用语标签详情
     *
     * @param labelId
     * @return
     */
    ChatPhraseLabelDetailVo getChatPhraseLabelById(Long labelId);

    /**
     * 聊天常用语标签分页列表
     *
     * @param chatPhraseLabelRequest
     * @return
     */
    List<ChatPhraseLabelResponse> getChatPhraseLabelList(ChatPhraseLabelRequest chatPhraseLabelRequest);

    /**
     * 获取所有聊天常用语标签列表
     *
     * @return
     */
    List<ChatPhraseLabelDetailVo> getAllChatPhraseLabelList();

}
